package com.leyantech.ecp.agenx.connector.di;

import com.leyantech.ecp.agenx.connector.handler.WebSocketMessageHandler;

import io.vertx.core.Promise;
import io.vertx.ext.auth.User;

/**
 * @author eahau, {@literal <eahau@foxmail.com>}
 * @date 2022-11-17.
 */
public interface WebSocketMessageHandlerFactory {

  WebSocketMessageHandler create(User user, Promise<Void> promise);

}
